﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KhachSan.Process.Private.Bo
{
    public partial class UC_DongHo : UserControl
    {
        public UC_DongHo()
        {
            InitializeComponent();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            try
            {
                this.gio1.Image = danhSachSo.Images[DateTime.Now.Hour / 10];
                this.gio2.Image = danhSachSo.Images[DateTime.Now.Hour % 10];
                this.phut1.Image = danhSachSo.Images[DateTime.Now.Minute / 10];
                this.phut2.Image = danhSachSo.Images[DateTime.Now.Minute % 10];
            }
            catch { }
        }

    
    }
}
